<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<meta name="SiteName" content="北京市人力资源和保障局门户网站">
	<meta name="SiteDomain" content=" rsj.beijing.gov.cn">
	<meta name="SiteIDCode" content="1100000062">
	<meta name="ColumnName" content="机构信息">
	<meta name="ColumnType" content="机构职能">
	<meta name="ColumnDescription" content="相关机构信息列表展示">
	<meta name="ColumnKeywords" content="北京市民办职业技能培训机构名录">

	<meta name="ArticleTitle" content="相关机构信息展示">
	<meta name="PubDate" content="2020-08-10 16:00">
	<meta name="ContentSource" content="北京市人力资源和社会保障局">
	<meta name="description" content="北京市民办职业技能培训机构信息发布展示">
	<meta name="keywords" content="序号,学校名称,地址,电话,工种,等级,分类">
	<title>机构信息</title>
	<link rel="stylesheet" href="./styles/css/common.css">
</head>

<body>
	<div class="resultpage mechanism">
		<!-- 公共顶部 -->
		<!-- <include src="./include/top.html"></include> -->
		<script src="http://rsj.beijing.gov.cn/header.js"></script>

		<!-- 公共头部 -->
		<include src="./include/header.art" data="{nav:'05'}"></include>
		<!-- nav图 -->
		<div class="resultpage_nav"></div>
		<!-- 查询和选项 -->
		<div class="resultpage_option clearfix">
			<div class="option_left left">
				<div class="option_wrap">
					<p class="option_item" style="width:248px"></p><i></i>
					<div class="option_list" style="width:273px">
					</div>
				</div>
			</div>
			<div class="option_right right" style="display: none;">
				<label style="top: 0px;left: 18px;" class="passes Showpass" for="rs">请输入关键字</label>
				<input class="search_input" type="text" id="rs">
				<input type="submit" class="search_submit J_search_submit" value="">
			</div>
		</div>
		<!-- table区域 -->
		<div class="resultpage_table" id="resultpage_table">
			<script type="text/html" id="resultpage_area">
					<% var _data = data.data%>

					<!-- 北京市流动人员人事档案管理服务机构 -->
					<%if(_data.ldda_data){%>
						<table border="0" cellspacing="0" cellpadding="0" class="table">
							<% var _dataTitle = _data.ldda_data.title %>
							<% var _dataValue = _data.ldda_data.value %>
							<tr class='top_tr'>
								<td width="5%">序号</td>
								<td width="20%"><%=_dataTitle[0]%></td>
								<td width="20%"><%=_dataTitle[1]%></td>
								<td width="10%"><%=_dataTitle[2]%></td>
								<td width="20%"><%=_dataTitle[3]%></td>
								<td width="25%"><%=_dataTitle[4]%></td>
							</tr>
						<%for(var i=0;i<_dataValue.length;i++){%>
							<% var num = +wrapData.startNum + i%>
							<tr class='nomal_tr<%if(i%2 == 1){%> even <%}%>'>
								<td><%=num%></td>
								<td><%=_dataValue[i].dwmc%></td>
								<td><%=_dataValue[i].bgdz%></td>
								<td><%=_dataValue[i].yzbm%></td>
								<td><%=_dataValue[i].zxdh%></td>
								<td><%=_dataValue[i].cclx%></td>
							</tr>
						<%}%>
						</table>
					<%}%>
					<!-- 全市公共就业服务机构 -->
					<%if(_data.qsggjy_data){%>
						<table border="0" cellspacing="0" cellpadding="0" class="table">
							<% var _dataTitle = _data.qsggjy_data.title %>
							<% var _dataValue = _data.qsggjy_data.value %>
							<tr class='top_tr'>
								<td width="5%">序号</td>
								<td width="20%"><%=_dataTitle[0]%></td>
								<td width="20%"><%=_dataTitle[1]%></td>
								<td width="20%"><%=_dataTitle[2]%></td>
								<td width="10%"><%=_dataTitle[3]%></td>
								<td width="25%"><%=_dataTitle[4]%></td>
							</tr>
						<%for(var i=0;i<_dataValue.length;i++){%>
								<% var num = +wrapData.startNum + i%>
							<tr class='nomal_tr<%if(i%2 == 1){%> even <%}%>'>
								<td><%=num%></td>
								<td><%=_dataValue[i].jgmc%></td>
								<td><%=_dataValue[i].dz%></td>
								<td><%=_dataValue[i].qzfwdh%></td>
								<td><%=_dataValue[i].yzbm%></td>
								<td><%=_dataValue[i].cclx%></td>
							</tr>
						<%}%>
						</table>
					<%}%>
					<!-- 见习基地 -->
					<%if(_data.jxjd_data){%>
						<table border="0" cellspacing="0" cellpadding="0" class="table">
							<% var _dataTitle = _data.jxjd_data.title %>
							<% var _dataValue = _data.jxjd_data.value %>
							<tr class='top_tr' align="left">
								<td><%=_dataTitle%></td>
							</tr>
						<%for(var i=0;i<_dataValue.length;i++){%>
							<tr class='nomal_tr<%if(i%2 == 1){%> even <%}%>' align="left">
								<td><a href="./jxPage.html?jxjdid=<%=_dataValue[i].jxjdid%>" jxjdid='<%=_dataValue[i].jxjdid%>' title="<%=_dataValue[i].jxjdmc%>" target="_blank" style="color:#333333"><%=_dataValue[i].jxjdmc%></a></td>
							</tr>
						<%}%>
						</table>
					<%}%>
					<!-- 见习工作管理机构 -->
					<%if(_data.jxgzgl_data){%>
						<table border="0" cellspacing="0" cellpadding="0" class="table">
							<% var _dataTitle = _data.jxgzgl_data.title %>
							<% var _dataValue = _data.jxgzgl_data.value %>
							<tr class='top_tr'>
								<td width="20%">序号</td>
								<td width="40%"><%=_dataTitle[0]%></td>
								<td width="40%"><%=_dataTitle[1]%></td>
							</tr>
						<%for(var i=0;i<_dataValue.length;i++){%>
								<% var num = +wrapData.startNum + i%>
							<tr class='nomal_tr<%if(i%2 == 1){%> even <%}%>'>
								<td><%=num%></td>
								<td><%=_dataValue[i].bm%></td>
								<td><%=_dataValue[i].dh%></td>
							</tr>
						<%}%>
						</table>
					<%}%>
					<!-- 人力资源服务机构 -->
					<%if(_data.rlzy_data){%>
						<% var _dataValue = _data.rlzy_data.value %>
						<%for(var i=0;i<_dataValue.length;i++){%>
						<div class="rlzy">
							<div class="rlzy_top clearfix">
								<h1 class="left"><%=_dataValue[i].jgmc%></h1>
								<span class="left">(许可证编号：<%=_dataValue[i].bh%>)</span>
								<span class="right fwdh">服务电话：<%=_dataValue[i].gkfwdh%></span>
							</div>
							<div class="rlzy_center clearfix">
								<div class="rlzy_center_item clearfix c_blue fwfw">
									<span class="left">服务范围：</span>
									<p class="left"><%=_dataValue[i].fwfw%></p>
								</div>
								<div class="rlzy_center_item clearfix">
									<!-- <div class="c_bajgmc left">
											<span class="left">备案机构名称：</span>
											<p class="left" title="<%=_dataValue[i].bajgmc%>"><%=_dataValue[i].bajgmc%></p>
									</div> -->
									<div class="c_babh left">
										<span class="left">许可文号：</span>
										<p class="left" title="RC11024989"><%=_dataValue[i].babh%></p>
									</div>
									<!-- <div class="c_barq right">
											<span class="left">备案日期：</span>
											<p class="left"><%=_dataValue[i].barq%></p>
									</div> -->

								</div>
								<div class="rlzy_center_item clearfix baywsx">
									<span class="left">许可业务事项：</span>
									<p class="left p_ba"><%=_dataValue[i].baywsx%></p>
									<%if(_dataValue[i].baywsxbzw == 1){%>
										<i class="J_xq left c_xq_ba">[详情]
											<div class="xq_item">
												<div class="xq_item_con">
														<h1>许可业务事项</h1>
														<p><%=_dataValue[i].baywsx%></p>
												</div>
											</div>
										</i>
									<%}%>
								</div>
							</div>
							<div class="rlzy_center_item rlzy_bottom clearfix">
								<div class="c_dz clearfix left">
										<p class="left p_dz "><%=_dataValue[i].dz%></p>
										<%if(_dataValue[i].dzbzw == 1){%>
										<i class="J_xq left c_xq_dz">[详情]
												<div class="xq_item">
														<div class="xq_item_con">
																<h1>机构地址</h1>
																<p><%=_dataValue[i].dz%></p>
														</div>
													</div>
										</i>
										<%}%>
								</div>
								<div class="c_xkrq left">
										<span class="left">许可决定日期：</span>
										<p class="left"><%=_dataValue[i].xkjdrq%></p>
								</div>
								<div class="c_pzjgmc right">
										<span class="left">批准许可机关名称：</span>
										<p class="left"><%=_dataValue[i].pzxkjgmc%></p>
								</div>
							</div>
						</div>
						<%}%>
						<!-- <table border="0" cellspacing="0" cellpadding="0" class="table">

						<% var _dataTitle = _data.rlzy_data.title %>
						<% var _dataValue = _data.rlzy_data.value %>
						<tr class='top_tr'>
								<td width="10%"><%=_dataTitle[0]%></td>
								<td width="20%"><%=_dataTitle[1]%></td>
								<td width="20%"><%=_dataTitle[2]%></td>
								<td width="30%"><%=_dataTitle[3]%></td>
								<td width="20%"><%=_dataTitle[4]%></td>
						</tr>
					<%for(var i=0;i<_dataValue.length;i++){%>
							<% var num = +wrapData.startNum + i%>
						<tr class='nomal_tr<%if(i%2 == 1){%> even <%}%>'>
							<td><%=num%></td>
							<td><%=_dataValue[i].xkwh%></td>
							<td><%=_dataValue[i].jgmc%></td>
							<td><%=_dataValue[i].jgdz%></td>
							<td><%=_dataValue[i].lxdh%></td>
						</tr>
						<%}%>
					</table>
					<%}%>
					<!-- 北京市“千户百强”家庭服务企业名录 -->
					<%if(_data.qhbq_data){%>
						<table border="0" cellspacing="0" cellpadding="0" class="table">
							<% var _dataTitle = _data.qhbq_data.title %>
							<% var _dataValue = _data.qhbq_data.value %>
							<tr class='top_tr'>
									<td width="5%"><%=_dataTitle[0]%></td>
									<td width="15%"><%=_dataTitle[1]%></td>
									<td width="7%"><%=_dataTitle[2]%></td>
									<td width="7%"><%=_dataTitle[3]%></td>
									<td width="12%"><%=_dataTitle[4]%></td>
									<td width="10%"><%=_dataTitle[5]%></td>
									<td width="10%"><%=_dataTitle[6]%></td>
									<td width="8%"><%=_dataTitle[7]%></td>
									<td width="11%"><%=_dataTitle[8]%></td>
									<td width="15%"><%=_dataTitle[9]%></td>
							</tr>
						<%for(var i=0;i<_dataValue.length;i++){%>
								<% var num = +wrapData.startNum + i%>
							<tr class='nomal_tr<%if(i%2 == 1){%> even <%}%>'>
								<td><%=num%></td>
								<td><%=_dataValue[i].dwmc%></td>
								<td><%=_dataValue[i].clsj%></td>
								<td><%=_dataValue[i].frdb%></td>
								<td><%=_dataValue[i].zyyw%></td>
								<td><%=_dataValue[i].zxdh%></td>
								<td><%=_dataValue[i].wz%></td>
								<td><%=_dataValue[i].app%></td>
								<td><%=_dataValue[i].wxgzh%></td>
								<td><%=_dataValue[i].gsdz%></td>
							</tr>
						<%}%>
						</table>
					<%}%>
					<!-- 北京市民办职业技能培训机构名录 -->
					<%if(_data.mbzyjnpx_data){%>
						<table border="0" cellspacing="0" cellpadding="0" class="table">
							<% var _dataTitle = _data.mbzyjnpx_data.title %>
							<% var _dataValue = _data.mbzyjnpx_data.value %>
							<tr class='top_tr'>
									<td width="5%"><%=_dataTitle[0]%></td>
									<td width="25%"><%=_dataTitle[1]%></td>
									<td width="25%"><%=_dataTitle[2]%></td>
									<td width="10%"><%=_dataTitle[3]%></td>
									<td width="10%"><%=_dataTitle[4]%></td>
									<td width="10%"><%=_dataTitle[5]%></td>
									<td width="15%"><%=_dataTitle[6]%></td>
							</tr>
						<%for(var i=0;i<_dataValue.length;i++){%>
								<% var num = +wrapData.startNum + i%>
							<tr class='nomal_tr<%if(i%2 == 1){%> even <%}%>'>
								<td><%=num%></td>
								<td><%=_dataValue[i].xxmc%></td>
								<td><%=_dataValue[i].dz%></td>
								<td><%=_dataValue[i].dh%></td>
								<td><%=_dataValue[i].gz%></td>
								<td><%=_dataValue[i].dj%></td>
								<td><%=_dataValue[i].fl%></td>
							</tr>
						<%}%>
						</table>
					<%}%>
			</script>
		</div>
		<!-- 公共尾部 -->
		<!-- <include src="./include/footer.html"></include> -->
	<script src="http://rsj.beijing.gov.cn/footer.js"></script>
	</div>

</body>
<script src="./common/vendor.js"></script>
<script src="./common/md5_32.js"></script>
<script src="./common/configuration.js"></script>
<script src="./common/common.js"></script>
<script src="./common/generaltools.js"></script>
<script>
	$(function () {
		var dmid = $.paramObj().dmid;

		if (dmid == '03') {
			viewNum('5005002');// 见习单位
		}else if (dmid == '04') {
			viewNum('5005003');// 见习工作管理机构
		}else if (dmid == '07') {
			viewNum('5005004');// 北京市民办职业技能培训机构名录
		}else if (dmid == '08'){
			window.location.href = "./bfjyxrlzyjg.html";
			return
		}
		if (dmid == '05') { return } //临时的
		// 下拉列表 调用
		codeTable('/jggsxslj','jycs_d_jggslxh', $('.list_jggs'), 'result'); //结果公示
		codeTable('/common/dmb','jycs_d_jgmllxh', $('.list_jgxx'), 'mechanism', dmid);//机构名录
		add_active('jycs_d_jgmllxh', $('.option_list'), 'mechanism', $('.list_jgxx'));//机构名录
		// 获取基本信息
		getBase();
		// 选项列表 显示隐藏
		$(document).on('click', '.option_wrap', function (event) {
			var event = event || window.event;        //兼容火狐
			if (event.stopPropagation) {
				event.stopPropagation();            //标准浏览器
			} else {
				event.cancaleBubble == true;          //老ie
			}

			$('.option_list').toggle();
		});
		// 点击空白处隐藏选项列表
		$(document).on('click', function () {
			if ($('.option_list').is(':visible')) {
				$('.option_list').hide();
			}
		})
		// 下拉列表
		function add_active(dmbm, ele, hre, o_ele) {
			$.fetch({
				url: '/common/dmb',
				type: 'get',
				data: {
					dmbm: dmbm
				}
			}).done(function (result) {
				var data = result.returnData;
				if (+data.executeResult === 1) {
					// 数据数组
					var _data = data.data;
					var _html = '';
					$.each(_data, function (k, v) {
						if (v.dmid == '01') {
							_html += '<a class="J_rlzy" href="javascript:void(0)" dmid=' + v.dmid + ' title="' + v.dmmc + '">' + v.dmmc + '</a>'
						} else {
							_html += '<a href="./' + hre + '.html?dmid=' + v.dmid + '" dmid=' + v.dmid + ' title="' + v.dmmc + '">' + v.dmmc + '</a>'
						}
					})
					ele.html(_html);
					// $('.option_list a[dmid="03"]').attr({
					// 	'href':'javascript:void(0)',
					// 	'class':'jxjd'
					// });
					// 遍历dom元素
					$('.option_list a').each(function (k, v) {
						if ($(v).attr('dmid') == dmid) {
							$(v).addClass('o_active');
							o_ele.find('a').eq(k).addClass('sub_active');
							$('.option_item').text($(v).text());
						}
					});
				} else {
					$.layerMsg(data.message, '我知道了');
				}
			});
		}
		function codeTable(url,dmbm, ele, hre, dmid) {
			var _url = url;
			var _data = hre == 'result'? {} : {dmbm: dmbm};
			$.fetch({
				url: _url,
				type: 'get',
				data: _data
			}).done(function (result) {
				var data = result.returnData;
				if (+data.executeResult === 1) {
					// 数据数组
					var _data = data.data;
					var _html = '';
					var className = '';
					$.each(_data, function (k, v) {
						if (dmid && v.dmid == dmid) {
							className = 'sub_active';
						} else {
							className = '';
						}
						if (hre == 'mechanism' && v.dmid == '01') {
							_html += '<a  class="' + className + ' J_rlzy" href="javascript:void(0)" dmid=' + v.dmid + ' title="' + v.dmmc + '">' + v.dmmc + '</a>'
						} else {
							_html += '<a  class="' + className + '" href="./' + hre + '.html?dmid=' + v.dmid + '" dmid=' + v.dmid + ' title="' + v.dmmc + '">' + v.dmmc + '</a>'
						}
					})
					ele.html(_html);
				} else {
					$.layerMsg(data.message, '我知道了');
				}
			});
		}
		// placeholder
		$(document).on('focus', '.search_input', function () {
			$(this).prev('.Showpass').hide();
		})
		$(document).on('blur', '.search_input', function () {
			if (!$(this).val()) {
				$(this).prev('.Showpass').show();
			}
		})
		// 是否显示搜索框
		_search();
		function _search() {

			if (dmid == 05) {
				$('.option_right').show();
				$('.passes').text('请输入机构名称、编号或服务范围');
			}
			if (dmid == 07) {
				$('.option_right').show();
				$('.passes').text('请输入学校名称、工种或等级');
			}
		}
		// 查询事件
		$(document).on('click', '.J_search_submit', function () {
			var search_val = $.trim($('.search_input').val());
			pageOrder(search_val);
		})
		$(document).on('keyup', '.search_input', function (event) {
			var e = event || window.event || arguments.callee.caller.arguments[0];
			if (e && e.keyCode == 13) {
				$('.J_search_submit').click();
			}
		});
		pageOrder();
		// 分页事件
		function pageOrder(_gjc) {
			var _gjc = _gjc || '';
			var index = 0;
			var data = {
				jglb: dmid,
				gjc: _gjc,
				pageSize: 10,
				pageNum: index
			}
			$('#resultpage_table').pageTool({
				url: '/jgml',
				type: 'get',
				data: data,
				locator: 'returnData',
				callback: function (result) {
					var msg = result.returnData;
					if (msg.executeResult == '1') {
						index++;
					} else {
						$.layerMsg(msg.message, '我知道了', function () {
							// window.location.href = './index.html';
							return false;
						});
					}
				}
			});
		}
	});
</script>

</html>
